package com.example.myapplication.soaprequest.request

import com.example.mylibrary.utils.SpUtils
import org.simpleframework.xml.Element
import org.simpleframework.xml.Namespace
import org.simpleframework.xml.NamespaceList
import org.simpleframework.xml.Root

/**
 * 公司公告请求参数
 */
@Root(name = "rcpromptsave", strict = false)
@NamespaceList(Namespace(reference = "http://tempurl.org"))
class RcpromptSaveRequest : BaseRequest() {
    @field:Element(name = "id", required = false)
    var id: String = ""

    @field:Element(name = "opid", required = false)
    var opid: String = SpUtils.get("opId", "") as String

    @field:Element(name = "title", required = false)
    var title: String = ""

    @field:Element(name = "info", required = false)
    var info: String = ""

    @field:Element(name = "isused", required = false)
    var isused: String = ""

    @field:Element(name = "startdate", required = false)
    var startdate: String = ""

    @field:Element(name = "starttime", required = false)
    var starttime: String = ""
}
